package com.example.demo.ioc;


/**
 * @Author: wenjingyuan
 * @Date: 2023/07/16/0:16
 * @Description:
 */
public class FrameWork {
    private Bottom bottom;
    public FrameWork(Bottom bottom){
        this.bottom=bottom;
    }
    public void init(){
        System.out.println("framework init");
        bottom.init();
    }
}
